#ifndef FILEMANAGER_H
#define FILEMANAGER_H

#include <QWidget>
#include <QFileDialog>
#include <QProcess>

namespace Ui {
class filemanager;
}

class filemanager : public QWidget
{
    Q_OBJECT

public:
    explicit filemanager(QWidget *parent = 0);
    ~filemanager();
    QFileDialog filedialog;


private slots:
    void on_copy_clicked();

    void on_paste_clicked();

    void on_cut_clicked();

    void on_delete__clicked();

    void on_comboBox_currentIndexChanged(int index);
    void enter_directory();

    void on_run_script_clicked();

private:
    Ui::filemanager *ui;
    // QFileDialog filedialog;
    QStringList copyfilelist;
    QStringList newfilelist;
    bool copyorcut;
    QProcess cmd;

};

#endif // FILEMANAGER_H
